package com.xinghai.mapper;

import java.util.List;
import com.xinghai.domain.JkqActivitySign;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * 活动报名记录Mapper接口
 *
 * @author xinghai
 * @date 2025-08-02
 */
public interface JkqActivitySignMapper  extends MPJBaseMapper<JkqActivitySign>
{

    @Update("update jkq_activity_share set sign_num = sign_num + 1 where activity_id = #{activityId} and user_id = #{userId}")
    void updateSignNumByActivityId(@Param("activityId") Long activityId, @Param("userId") Long userId);

}
